package com.maxlen.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.maxlen.common.utils.PageUtils;
import com.maxlen.goods.entity.AttrEntity;
import com.maxlen.goods.entity.dto.AttrInfoDTO;
import com.maxlen.goods.entity.vo.AttrVO;
import com.maxlen.goods.entity.vo.ProductAttrValueVO;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 *
 * @author MaxLen
 * @email MaxLen@gmail.com
 * @date 2022-10-27 09:43:29
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catId, String attrType);

    void saveDetail(AttrVO attrVO);

    void updateDetail(AttrVO attrVO);

    AttrInfoDTO getDetailById(Long attrId);

    void removeDetail(List<Long> asList);

    List<Long> getAttrByIdAndSearchType(List<Long> attrIdList);
}

